package fr.vvins.core.biz.order.dto;

import java.io.Serializable;

import fr.vvins.core.common.dto.BeanDtoImpl;
import fr.vvins.core.common.dto.annotation.Dto;
import fr.vvins.core.order.entity.PaymentItem;

/**
 * PaymentItem entity
 */
@Dto(name="PaymentItem", entity=PaymentItem.class)
public class PaymentItemDto extends BeanDtoImpl implements Serializable {

	private static final long serialVersionUID = 6040308257403192150L;
	private OrderDto order;
	private PaymentMethodDto paymentMethod;
	private Integer status;
	private String amount;
	private String data;

	public PaymentItemDto() {
	}

	public PaymentItemDto(Integer id, OrderDto order, PaymentMethodDto paymentMethod,
			Integer status, String amount, String data) {
		super();
		this.id = id;
		this.order = order;
		this.paymentMethod = paymentMethod;
		this.status = status;
		this.amount = amount;
		this.data = data;
	}

	public OrderDto getOrder() {
		return order;
	}

	public void setOrder(OrderDto order) {
		this.order = order;
	}

	public PaymentMethodDto getPaymentMethod() {
		return paymentMethod;
	}

	public void setPaymentMethod(PaymentMethodDto paymentMethod) {
		this.paymentMethod = paymentMethod;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}



}
